#! venv/Scripts/python
# -*- coding: utf-8 -*-
class HummanBaseClass:
    """
    基础人物模板
    """

    def __init__(self):
        # 基础属性
        # 等级
        self.Level = 10
        # 名字
        self.player_name = "Player"
        # 性别
        self.player_sex = "男"
        # 声明最大值
        self.max_hp = 500
        # 真气最大值
        self.max_mp = 100

        # 锻体
        self.duanti = 10
        # 练气
        self.lianqi = 10
        # 神识
        self.shenshi = 10

        # 扩展属性
        # 御器攻击
        self.yuqi = 20
        # 术法攻击
        self.shufa = 20
        # 真气贯穿
        self.guanchuan = 10
        # 真气护体
        self.huti = 10

    def SetBaseData(self, level, name, sex, max_hp, max_mp, duanti, lianqi, shenshi):
        self.Level = level
        self.player_name = name
        self.player_sex = sex
        self.max_hp = max_hp
        self.max_mp = max_mp
        self.duanti = duanti
        self.lianqi = lianqi
        self.shenshi = shenshi

    def SetFeatData(self, yuqi, shufa, guanchuan, huti):
        self.yuqi = yuqi
        self.shufa = shufa
        self.guanchuan = guanchuan
        self.huti = huti

    def __str__(self):
        return "人物类"
